//导入经过二次封装的axios实例
import service from "@/utils/request";

export function admin_login(payload = {}){
    return service.post('/admin/admin/login',payload)
}
export function admin_list(payload = {}){
    return service.get('/admin/admin/list',{ params:payload })
}
export function admin_add(payload = {}){
    return service.post('/admin/admin/add',payload )
}
export function admin_delete(payload = {}){
    return service.post('/admin/admin/delete',payload )
}
export function admin_update(payload = {}){
    return service.post('/admin/admin/update',payload )
}
//...